<cpanel setvar="headerinclude=mail/archiver_head.html">
<cpanel setvar="headerimg=../images/mailmenu.gif">
<cpanel setvar="dprefix=../">
<cpanel Branding="include(stdheader.html)">
<style type="text/css">
<?cp Branding::spritelist(.spriteicon_img_mini {float:left;margin-right:5px;background: url\{leftparenthesis}"%"\{rightparenthesis};} %,@spriteurl,images::#icon-${img}_mini {background-position\{colon}0 -${cssposition}px;width\{colon}${width}px;height\{colon}${height}px; }:) imgtype=icon,subtype=img,method=scale_60percent,format=png,img=emailarch ?>
</style>

<div class="body-content">

    <div class="h1Title"><div class="spriteicon_img_mini" id="icon-emailarch_mini"></div> <cptext 'Email Archiving'></div>

    <cpanelfeature cgpro_emailarchive>

    <div class="header-text">
        <cpanel Locale="maketext('Email Archiving allows you to store a copy of each incoming and outgoing message that is sent to or from a domain on your account. The archives are stored in an uncompressed [output,strong,_1] format so they can be browsed via an IMAP connection. Be aware that archiving email can consume disk space quickly, and you should ensure you have enough disk space available for the retention period you select.','maildir')">
    </div>

    <h2><cptext 'Manage Archiving'></h2>


    <div id="archive_status_bar" class="cjt_status_bar"></div>
    <form action="doarchive.html" method="post">
      <table id="emailarchtbl" class="archives sortable truncate-table"  custom-sort-method="onSortClick">
        <thead>
          <?cptt cgpro/mail/archive_list_header.tmpl ?>
        </thead>
        <tbody>
          <?cptt cgpro/mail/archive_list.tmpl ?>
        </tbody>
      </table>
      <div align="center">
	<input type="submit" value="Save" class="input-button" id="activate-button" />
      </div>
    </form>

    <iframe style="display:none;" name="archivedown" id="archivedown"></iframe>
    </cpanelfeature>

</div>
<cpanel Branding="include(stdfooter.html)">
